import request from '@/utils/request'
//获取会员中心列表
export function getBanerList(data) {
  return request({
    url: '/cloudApi/account/user/getUserDetailList',
    method: 'get',
    params: data
  })
}
//根据id查询会员详情
export function queryDetail(params) {
  return request({
    url: '/cloudApi/account/user/getUserDetailListById',
    method: 'get',
    params
  })
}

//修改会员信息
export function setVipDetail(data) {
  return request({
    url: '/cloudApi/account/user/updUserDetail',
    method: 'post',
    data
  })
}
//会员中心新增会员
export function Newmembers(data) {
  return request({
    url: '/cloudApi/account/user/saveUserDetail',
    method: 'post',
    data
  })
}